home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  2.9 KB  |  118 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
  18. __TERMINALTOOLS__ SET 1
  19.  
  20.  
  21.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  22.     include 'Dialogs.a'
  23.     ENDIF
  24. ;        include 'Errors.a'                                            ;
  25. ;            include 'ConditionalMacros.a'                            ;
  26. ;        include 'Memory.a'                                            ;
  27. ;            include 'Types.a'                                        ;
  28. ;            include 'MixedMode.a'                                    ;
  29. ;        include 'Windows.a'                                        ;
  30. ;            include 'Quickdraw.a'                                    ;
  31. ;                include 'QuickdrawText.a'                            ;
  32. ;            include 'Events.a'                                        ;
  33. ;                include 'OSUtils.a'                                ;
  34. ;            include 'Controls.a'                                    ;
  35. ;                include 'Menus.a'                                    ;
  36. ;        include 'TextEdit.a'                                        ;
  37.  
  38.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  39.     include 'Terminals.a'
  40.     ENDIF
  41. ;        include 'CTBUtilities.a'                                    ;
  42. ;            include 'StandardFile.a'                                ;
  43. ;                include 'Files.a'                                    ;
  44. ;            include 'AppleTalk.a'                                    ;
  45. ;        include 'Connections.a'                                    ;
  46.  
  47. tdefType                        EQU        'tdef'
  48. tvalType                        EQU        'tval'
  49. tsetType                        EQU        'tset'
  50. tlocType                        EQU        'tloc'
  51. tscrType                        EQU        'tscr'
  52. tbndType                        EQU        'tbnd'
  53. tverType                        EQU        'vers'
  54. ; messages 
  55. tmInitMsg                        EQU        0
  56. tmDisposeMsg                    EQU        1
  57. tmSuspendMsg                    EQU        2
  58. tmResumeMsg                        EQU        3
  59. tmMenuMsg                        EQU        4
  60. tmEventMsg                        EQU        5
  61. tmActivateMsg                    EQU        6
  62. tmDeactivateMsg                    EQU        7
  63. tmGetErrorStringMsg                EQU        8
  64. tmIdleMsg                        EQU        50
  65. tmResetMsg                        EQU        51
  66. tmKeyMsg                        EQU        100
  67. tmStreamMsg                        EQU        101
  68. tmResizeMsg                        EQU        102
  69. tmUpdateMsg                        EQU        103
  70. tmClickMsg                        EQU        104
  71. tmGetSelectionMsg                EQU        105
  72. tmSetSelectionMsg                EQU        106
  73. tmScrollMsg                        EQU        107
  74. tmClearMsg                        EQU        108
  75.  
  76. tmGetLineMsg                    EQU        109
  77. tmPaintMsg                        EQU        110
  78. tmCursorMsg                        EQU        111
  79. tmGetEnvironsMsg                EQU        112
  80. tmDoTermKeyMsg                    EQU        113
  81. tmCountTermKeysMsg                EQU        114
  82. tmGetIndTermKeyMsg                EQU        115
  83. ; messages for validate DefProc    
  84. tmValidateMsg                    EQU        0
  85. tmDefaultMsg                    EQU        1
  86. ; messages for Setup DefProc    
  87. tmSpreflightMsg                    EQU        0
  88. tmSsetupMsg                        EQU        1
  89. tmSitemMsg                        EQU        2
  90. tmSfilterMsg                    EQU        3
  91. tmScleanupMsg                    EQU        4
  92. ; messages for scripting defProc    
  93. tmMgetMsg                        EQU        0
  94. tmMsetMsg                        EQU        1
  95. ; messages for localization defProc  
  96. tmL2English                        EQU        0
  97. tmL2Intl                        EQU        1
  98.  
  99. TMSearchBlock             RECORD    0
  100. theString                 ds.l    1
  101. where                     ds        Rect
  102. searchType                 ds.w    1
  103. callBack                 ds.l    1
  104. refnum                     ds.w    1
  105. next                     ds.l    1
  106. sizeof                     EQU    24
  107.                         ENDR
  108.  
  109. TMSetupStruct             RECORD    0
  110. theDialog                 ds.l    1
  111. count                     ds.w    1
  112. theConfig                 ds.l    1
  113. procID                     ds.w    1                                    ; procID of the tool 
  114. sizeof                     EQU    12
  115.                         ENDR
  116.  
  117.     ENDIF ; __TERMINALTOOLS__
  118.